package cn.gson.springboot.model.mapper;

import cn.gson.springboot.model.pojos.Department;
import cn.gson.springboot.model.pojos.Job;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component("jobMapper")
public interface JobMapper {
    //查找所有职位
    public List<Job> findAllJob();

    public List<Job> findDeptJob(Integer deptId);
}
